package com.wyd.System.Bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author 文永达
 * @since 2020-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("SPECIALTY")
@ApiModel(value="Specialty对象", description="")
public class Specialty implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private BigDecimal id;

    @TableField("SPECIALTY_NAME")
    private String specialtyName;

    @TableField("INSTITUTE_ID")
    private BigDecimal instituteId;

    @ApiModelProperty(value = "分组查询中的专业人数")
    @TableField(exist = false)
    private Integer specCOUNT;


}
